from alg import minCostClimbingStairs
from gen import generate_cost_array

def test_random_case():
    # 生成随机测试数据并测试
    cost = generate_cost_array(10)
    print("Random cost array:", cost)
    result = minCostClimbingStairs(cost)
    print("Minimum cost to climb stairs:", result)

if __name__ == "__main__":
    test_random_case()